package com.wzdigit.wms.web.service.wms2sap.outstore;

public class ZSI_071_WMS2SAP_OutProxy implements ZSI_071_WMS2SAP_Out {
  private String _endpoint = null;
  private ZSI_071_WMS2SAP_Out zSI_071_WMS2SAP_Out = null;
  
  public ZSI_071_WMS2SAP_OutProxy() {
    _initZSI_071_WMS2SAP_OutProxy();
  }
  
  public ZSI_071_WMS2SAP_OutProxy(String endpoint) {
    _endpoint = endpoint;
    _initZSI_071_WMS2SAP_OutProxy();
  }
  
  private void _initZSI_071_WMS2SAP_OutProxy() {
    try {
      zSI_071_WMS2SAP_Out = (new ZSI_071_WMS2SAP_OutServiceLocator()).getHTTPS_Port();
      if (zSI_071_WMS2SAP_Out != null) {
        if (_endpoint != null)
          ((javax.xml.rpc.Stub)zSI_071_WMS2SAP_Out)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
        else
          _endpoint = (String)((javax.xml.rpc.Stub)zSI_071_WMS2SAP_Out)._getProperty("javax.xml.rpc.service.endpoint.address");
      }
      
    }
    catch (javax.xml.rpc.ServiceException serviceException) {}
  }
  
  public String getEndpoint() {
    return _endpoint;
  }
  
  public void setEndpoint(String endpoint) {
    _endpoint = endpoint;
    if (zSI_071_WMS2SAP_Out != null)
      ((javax.xml.rpc.Stub)zSI_071_WMS2SAP_Out)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
    
  }
  
  public ZSI_071_WMS2SAP_Out getZSI_071_WMS2SAP_Out() {
    if (zSI_071_WMS2SAP_Out == null)
      _initZSI_071_WMS2SAP_OutProxy();
    return zSI_071_WMS2SAP_Out;
  }
  
  public ZDT_071_RspResult[] ZSI_071_WMS2SAP_Out(ZDT_071_Req ZMT_071_WMS_Req) throws java.rmi.RemoteException{
    if (zSI_071_WMS2SAP_Out == null)
      _initZSI_071_WMS2SAP_OutProxy();
    return zSI_071_WMS2SAP_Out.ZSI_071_WMS2SAP_Out(ZMT_071_WMS_Req);
  }
  
  
}